﻿@{
    ViewBag.Title = "投票人";
    Layout = "~/Views/Shared/SettingMaster.cshtml";
}
<style type="text/css">
    .voteitem {
        list-style-type: decimal;
    }

    .voteitem li {
        float: left;
        width: 13%;
    }

    .voteitem span {
        float: right;
        margin-right: 37%;
        color: #3a87ad;
    }
</style>
<ul class="breadcrumb">
    <li><a href="javascript:void(0);">菜单</a> <span class="divider">/</span></li>
    <li class="active">统计投票结果<span class="divider">/</span>投票人</li>
</ul>
<div class="container-fluid">
    <div class="row-fluid">
            @{
                if (0 == ViewBag.voters.Count)
                {
                    <div class="alert alert-info">
                        <button data-dismiss="alert" class="close" type="button">×</button>
                        <strong>提示：</strong> 没有人投票!
                    </div>
                }
                else
                {
                    <div class="block">
                        <div class="block-body">
                            <div class="row-fluid">
                                <ul class="voteitem">
                                    @{
                    foreach (var voter in ViewBag.voters)
                    {
                        <li>@voter</li>
                    }
                                    }
                                </ul>
                            </div>
                            <div class="clearfix"></div>
                        </div>
                    </div>
                }
            }
    </div>
</div>
